<!DOCTYPE html>
<!--
***********************************************
This site created by Luke Rebeiro 2012
@copyright Copyright 2012 Luke Rebeiro [luke at lukerebeiro.com]
http://www.lukerebeiro.com
***********************************************
-->
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<meta name="Keywords" content="Dwarf Minke Whale, MWP, Minke Whale Project, Minke, Whale, Dwarf, JCU, James Cook University, research, GBR, Great Barrier Reef" />
		<meta name="Description" content="Minke Whale Project" />
		<title>Minke Whale Project</title>
		<link rel="shortcut icon" href="bin/img/icons/minke_icon.ico" type="image/x-icon" />
		<link rel="stylesheet" type="text/css" href="bin/css/mainStyle.css" />
		<link rel="stylesheet" type="text/css" href="bin/css/content.css" />
		<!-- Load jscript functions -->
		<!-- ajaxFunc accepts a variable - and then loads a txt file -->
		<script type="text/javascript" src="bin/js/ajaxFunc.js"></script>
		<!-- load xml and xsl driven menu and display in xmlmenu nav -->
		<script type="text/javascript" src="bin/js/xmlLoader.js"></script>
		<!-- Load script which controls changing of banner image -->
		<?php
			require 'bin/php/banner_script.php';
		?>
		<!-- load script for gallery thumbnails -->
		<script type="text/javascript" src="bin/js/functions.js"></script>
		<!--[if IE 7]>  <link  rel="stylesheet" href="bin/css/compat.css">
		<![endif]-->
	</head>
	<?php
	//check if page to load is in URL, otherwise load default home page
	if ($_GET) {
		$content = $_GET['page'];
	} else {$content = 'home/home.php';
	}
	?>
	<!-- on page load, load home.php content, display the nav menu, and trigger the banner swap script -->
	<body onload="loadPage('<?php echo $content;?>');displayResult();bannerSwap()">
		<!-- Check browser compatability -->
		<?php require 'bin/php/compat.php';	?>
		<!-- Container - groups all page layout DIV's -->
		<div class="container" id="page_top">
			<!-- Header - Displays banner picture and Minke logo-->
			<?php require "bin/php/header.php";	?>
			<!-- Navigation -->
			<nav id="xmlmenu"></nav>
			<!-- Content DIV - this makes up the center of the page
			all page content should be displayed here -->
			<div id="content"></div>
			<!-- Footer - Displays web links and sponsor logos-->
			<?php require ("bin/php/footer.php"); ?>
		</div>
		<!-- End container -->
		<!-- author credit displayed beneath page -->
		<p class="auth_credit">
			<a href="http://www.lukerebeiro.com" target="_blank">Site Created By Luke Rebeiro</a>
		</p>
	</body>
</html>